package org.shagin.jfin.ui.date;

import java.util.EventObject;

import org.shagin.jfin.date.cond.DateRange;

/**
 * The Class DateRangeEvent.
 */
@SuppressWarnings("serial")
public class DateRangeEvent extends EventObject {

    private DateRange dateRange;

    /**
     * Instantiates a new date range event.
     * 
     * @param source the source
     * @param dateRange the date range
     */
    public DateRangeEvent(Object source, DateRange dateRange) {
        super(source);
        this.dateRange = dateRange;
    }

    /**
     * Gets the date range.
     * 
     * @return the date range
     */
    public DateRange getDateRange() {
        return dateRange;
    }
}
